package com.yang.struct;

public class ForDemo05 {
    public static void main(String[] args) {
        int[] numbers  = {10,20,30,40,50,60,70,80,90,100};//定义一个数组

        for(int i = 0;i<10;i++){
            System.out.println(numbers[i]);
        }
        System.out.println("========================");
        //便利数组的元素
        for (int x:numbers){
            System.out.println(x);
        }
    }
}
